package com.huage_08.lesson_02;

public class SellTicketDemo {
    public static void main(String[] args) {
        Runnable sell = new SellTicket();

        Thread win1 = new Thread(sell,"窗口一");
        Thread win2 = new Thread(sell,"窗口二");
        Thread win3 = new Thread(sell,"窗口三");

        win1.start();
        win2.start();
        win3.start();
    }
}
